package com.gzhryc.net_marketing.api.protocol.account;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

/**
 * 云支付结果
 * @version 2022-07-10
 */
public class CloudPayAccountPayResponse extends SecurityResponse<CloudPayAccountPayResponse.Body> {

    private static final long serialVersionUID = 1L;

    public CloudPayAccountPayResponse() {
        this.body = new Body();
    }

    public CloudPayAccountPayResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public CloudPayAccountPayResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String tradeNo;
        private String businessType;    //业务类型
        private String businessTradeNo;
        private Integer payResult;      //与EPayState同值
        private Integer payMoney;       //支付金额

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public String getBusinessTradeNo() {
            return businessTradeNo;
        }

        public void setBusinessTradeNo(String businessTradeNo) {
            this.businessTradeNo = businessTradeNo;
        }

        public Integer getPayResult() {
            return payResult;
        }

        public void setPayResult(Integer payResult) {
            this.payResult = payResult;
        }

        public Integer getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(Integer payMoney) {
            this.payMoney = payMoney;
        }
    }
}
